/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package service;

/**
 *
 * @author frke0900
 */
public class ImageJsonObject {
    private String img = new String();
    private double longitude;
    private double latitude;
    private String caption = new String();
    private String extension = new String();

    public ImageJsonObject(String img, String extansion, double longitude, double latitude, String caption) {
        this.img = img;
        this.longitude = longitude;
        this.latitude = latitude;
        this.caption = caption;
        this.extension = extansion;
    }

    public String getImg() {
        return this.img;
    }
    
    public String getExtention() {
        return this.extension;
    }

    public String getCaption() {
        return this.caption;
    }

    public double getLatitude() {
        return this.latitude;
    }

    public double getLongitude() {
        return this.longitude;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String toString() {
        return "img: "+getImg()+" ext: "+getExtention()+" lat: "+getLatitude()+" long: "+getLongitude()+" cap: "+getCaption();
    }
}
